<style>
.current {
  color: #999999;
}
</style>
<link href="<?=base_url()?>application/assets/styles/pagenav.css" rel="stylesheet" type="text/css" />

<div class="box_right"><strong>SẢN PHẨM KHUYẾN MÃI</strong></div>
<div class="sanpham">

<? foreach($products as $product){ ?>
<div class="item_sp">
				<div class="hinh_sp"><img src="<?=$product_image_thumb.h($product->{PRODUCTS_IMAGE})?>" width="132" height="113" alt="" onclick="go_detail('<?=site_url('San-Pham')?>/Chi-Tiet/<?=$product->{PRODUCTS_PRODUCT_ID}?>')" style="cursor:pointer" /></div>
				<div class="title_sp"><?=h($product->{PRODUCTS_NAME})?></div>
				<div class="ma_sp"><?=h($product->pg_name)?></div>
				<div class="gia_sp">Giá: <?=n3($product->{PRODUCTS_PRICE})?> ₫</div>
				<div class="gia_sp">Giá KM: <?=n3($product->{PRODUCTS_PROMOTION_PRICE})?> ₫</div>
				<div class="sp_new"></div>
				<div><input onclick="go_detail('<?=site_url('San-Pham')?>/Chi-Tiet/<?=$product->{PRODUCTS_PRODUCT_ID}?>')" class="btn_chitiet" value="Chi tiết" name="" type="button" /></div>
				<div><input onclick="go_detail('<?=site_url('Chon-Mua')?>/SP/<?=$product->{PRODUCTS_PRODUCT_ID}?>')" class="btn_addcart" value="Đặt mua" name="" type="button" /></div>
			</div>
<? }?>
</div>
<div align="center" style="clear:both">
<? if ($paging) { ?> {paging}<? }?>

</div>